package day03;
public class IfEElseDemo {
    public static void main(String[] args) {
        double price=500;
        if (price>=500){
            price*=0.8;
        }else{
            price*=0.9;
        }
        System.out.println(price);
        int score=85;
        if (score>=0&&score<=100){
            System.out.println("成绩合法");
        }else {
            System.out.println("成绩不合法");
        }
        int num =0;
        if (num%2==0){
            System.out.println("偶数");
        }else {
            System.out.println("奇数");
        }
    }
}
